<?php /*
Compare two arrays and determine the result as equal / not equal.
Input like as follows,
$a = array(3,7,2,8,4);
$b = array(3,7,5,8,6);
{Don't use any in built php functions. The code should be valid for any inputs.}
*/
?>
<?php
$a = array(3,7,2,8,4);
$b = array(3,7,5,8,6);
$length = count($a);
	for($i=0; $i<$length; $i++)
	{
		if($a[$i] == $b[$i])
		{
		echo 'equal' .'<br>';
		}
		else
		{
		echo 'not equal'. '<br>';
		}
	}
?>
